<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<h1>Servlet实现文件上传</h1>
<hr>
<form action="upload" enctype="multipart/form-data" method="post">
    上传人:<input type="text" name="username">
    选择文件:
    <input type="file" name="upload">
    <input type="submit" value="上传">
</form>
</body>
</html>
